#ifndef __INC_QG_NFO_H__
#define __INC_QG_NFO_H__

#ifdef _MSC_VER
#pragma once
#endif

#define RDHNFO_FRAME()			K_STMT_BEGIN{_nfo.frames++;}K_STMT_END
#define RDHNFO_INVOKE()			K_STMT_BEGIN{_nfo.invokes++;}K_STMT_END
#define RDHNFO_CREATION()		K_STMT_BEGIN{_nfo.creations++;}K_STMT_END
#define RDHNFO_DISPOSE()		K_STMT_BEGIN{_nfo.disposes++;}K_STMT_END
#define RDHNFO_STATE()			K_STMT_BEGIN{_nfo.states++;}K_STMT_END
#define RDHNFO_SHADER()			K_STMT_BEGIN{_nfo.shaders++;}K_STMT_END
#define RDHNFO_TEXTURE()		K_STMT_BEGIN{_nfo.textures++;}K_STMT_END
#define RDHNFO_RENDERER()		K_STMT_BEGIN{_nfo.renderers++;}K_STMT_END
#define RDHNFO_TRANSFORM()		K_STMT_BEGIN{_nfo.transforms++;}K_STMT_END
#define RDHNFO_DRAWCALL()		K_STMT_BEGIN{_nfo.drawcalls++;}K_STMT_END
#define RDHNFO_VERTICES(n)		K_STMT_BEGIN{_nfo.vertices+=n;}K_STMT_END

#endif	// __INC_QG_NFO_H__
